package objday03;

public class User {
    protected String userName;
    protected String usePwd;
    protected boolean isActive;
    protected boolean isAdmin;
    public User(){}

    public User(String userName, String usePwd, boolean isActive, boolean isAdmin) {
        this.userName = userName;
        this.usePwd = usePwd;
        this.isActive = isActive;
        this.isAdmin = isAdmin;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUsePwd() {
        return usePwd;
    }

    public void setUsePwd(String usePwd) {
        this.usePwd = usePwd;
    }

    public boolean isActive() {
        return isActive;
    }

    public void setActive(boolean active) {
        isActive = active;
    }

    public boolean isAdmin() {
        return isAdmin;
    }

    public void setAdmin(boolean admin) {
        isAdmin = admin;
    }
}
